package com.jiangjiang.eshop.membership.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName UserDetailEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/21 12:17
 * @Version 1.0
 **/
@Data
@TableName("membership_user_detail")
public class UserDetailEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 用户账号id
     */
    @TableField("user_account_id")
    private Long userAccountId;
    /**
     * 姓名
     */
    @TableField("name")
    private String name;
    /**
     * 性别
     */
    @TableField("gender")
    private Integer gender;
    /**
     * 生日
     */
    @TableField("birthday")
    private Date birthday;
    /**
     * 身份证号
     */
    @TableField("id_number")
    private String idNumber;
    /**
     * 住址
     */
    @TableField("address")
    private String address;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
